    <p class="add_link" >
        <%= link_to "Print Ecase", {:controller => "print", :action => 'index', :id => @ecase }, :class => 'print_btn' %>
        <% if can_edit_ecase?(@ecase) %> &nbsp;
        <%= link_to "Case Settings", {:controller => "ecases", :action => 'edit', :id => @ecase}, :class => 'add_link' %>
        <% end %>
        <% if can_add_event?(@ecase) %> &nbsp;
        <%= link_to 'Add Event', {:controller=> 'events', :action => 'new', :id => @ecase},  :class => 'add_link' %>
        <% end %>
    </p>